package com.lnsf.bookstore.system.vipuser.service;

import com.github.pagehelper.PageInfo;
import com.lnsf.bookstore.system.user.vo.User;
import com.lnsf.bookstore.system.vipuser.vo.VipUser;

import java.util.Map;

public interface VipUserService {

    PageInfo<VipUser> selectAllVip(Map<String, Object> map, VipUser vipUser);

    VipUser selectById(Integer uid);

    public Integer saveVipUser(VipUser vipUser);

    public Integer updateVipUser(VipUser vipUser);

    /**
     * 根据主键批量删除
     *
     * @param ids
     * @return 删除条数
     */
    int deleteBatch(Integer[] ids);
}
